home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 52
/
Amiga Format AFCD52 (Issue 136, May 2000).iso
/
-serious-
/
programming
/
c
/
stormamiga_lib-v45_00d
/
include
/
utime.h
< prev
Wrap
C/C++ Source or Header
|
2000-02-28
|
838b
|
48 lines
#ifndef UTIME_H
#define UTIME_H
/*
** $VER: utime.h 1.3 (18.09.98)
** Includes Release 45.00
**
** Copyright © 1996/2000 by CyberdyneSystems
**
** written by Matthias Henze
** All Rights Reserved
*/
#ifndef STORMAMIGA_H
#include <stormamiga.h>
#endif
#ifndef _INCLUDE_TIME_H
#include <time.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*----- POSIX-functions -----*/
struct utimbuf
{
time_t actime; /* Access time */
time_t modtime; /* Modification time */
};
int utime (cchar *, const struct utimbuf *);
#ifdef __cplusplus
}
#endif
#ifdef STORMAMIGA_UNIXPATH
__inline int utime_u (cchar *file, const struct utimbuf *timep)
{return utime (file, timep); }
#define utime(file, timep) utime_u(UnixToAmigaPath(file), timep)
#endif
#endif /* UTIME_H */